package org.lagou.edu.service;

import org.lagou.edu.logSdk.utils.OperationLogUtils;
import org.lagou.edu.pojo.Config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConfigService {

    @Autowired
    private OperationLogUtils<Config> operationLogUtils;

    public void changeConfig(Config config1, Config config2) throws IllegalAccessException {
        operationLogUtils.logUpdate(config1, config2);
    }
}
